home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / programming / oracle7 7.2 / NET / NETS22 / NETS22.INS < prev    next >
Encoding:
Text File  |  1995-10-12  |  2.6 KB  |  88 lines

  1. /* Copyright (c) Oracle Corporation 1992.  All Rights Reserved */
  2. /*****************************************************************************
  3.   NAME
  4.     nets22.ins - Windows 95 V3 installation script for SQL*Net.
  5.  
  6.   DESCRIPTION
  7.     This script performs the installation tasks for the Windows 95 SQL*Net
  8.     product.
  9.  
  10.   VERSION
  11.     2.2.0.0.0
  12.  
  13.   OWNER
  14.     Mason Ng
  15.  
  16.   MODIFIED    DD-MMM-YY Reason
  17.     trodgers  10-APR-92 Created.
  18.     zkhan     11-AUG-93 Modified for SQLNET and for using V3.0.9.3.2 or later
  19.             of the installer.
  20.     mng       05-JAN-94 Modified for NT.
  21.     eflores   06-APR-94 Modified for 2.1.2
  22.     dlau      07-AUG-95 Modified for SQLNET 2.2
  23.     vraja     22-AUG-95 Create the SQL*Net V2 Listener Service
  24.     LMurphy   07-SEP-95 Modified for Windows 95
  25. *****************************************************************************/
  26. {
  27.   if (doit)
  28.   {
  29.     ins_ratchet = "2.2.2.0.0";
  30.  
  31.     execute("%installer_home%\win95.ins");
  32.  
  33.     install(w95rsf72);
  34.     install(w95netclt22);
  35.  
  36.     ui_product(product_label);
  37.  
  38.     permit_retry_operations = TRUE;
  39.  
  40.     ui_action(instantiate(net2_install_dll));
  41.     copy(dll); 
  42.  
  43.     ui_action(instantiate(net2_install_exe));
  44.     copy(exe);
  45.    
  46.     ui_action(instantiate(net2_install_script));
  47.     copy(deinstl);
  48.  
  49.     ui_action(instantiate(net2_install_sample));
  50.     copy(sample);
  51.  
  52.     {
  53.       host_name = win32_get_value("HKEY_LOCAL_MACHINE",
  54.                                   "System\CurrentControlSet\Services\VxD\MSTCP",
  55.                                   "HostName");
  56.     }
  57.     ['INVALID_KEY, 'FILE_NOT_FOUND, 'OS_ERROR: 
  58.       {
  59.         host_name = win32_get_value("HKEY_LOCAL_MACHINE",
  60.                                     "System\CurrentControlSet\Control\ComputerName\ComputerName",
  61.                                     "ComputerName");
  62.       }
  63.       ['INVALID_KEY, 'FILE_NOT_FOUND, 'OS_ERROR: host_name = "default_computer_name";]
  64.     ]
  65.     /* save listener.ora as listener.old */
  66.     permit_retry_operations = FALSE;
  67.     {
  68.     move_file("%oracle_home%\network\admin\listener.ora","%oracle_home%\network\admin\listener.old");
  69.     }
  70.     ['INVALID_FILE_NAME, 'PERMISSION_DENIED, 'WRITE_ERROR, 'FILE_NOT_FOUND, 'OS_ERROR: continue();]
  71.  
  72.     if (copy_tcp_lsnr)
  73.        copy(lsnr, "tcp");
  74.     if (copy_spx_lsnr)
  75.       copy(lsnr, "spx");
  76.  
  77.     ui_action(instantiate(net2_register));
  78.     register(current_product);
  79.  
  80.     modify("LISTENER_STARTUP","AUTO",ora_config,(product_filename(current_product)));
  81.  
  82.     if (member(selected_products,current_product))
  83.     reference(current_product);
  84.     reference(w95rsf72, current_product);
  85.     permit_retry_operations = FALSE;
  86.   }
  87. }
  88.